package edu.zut.hb.software.train.Adaption.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;

@Entity
@Table(name="T_Adaption")
public class Adaption  extends BaseEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    @Id
	@Column(name = "id")
	Long id;
	
//	@ManyToOne
//	@JoinColumn(name = "Generate_ID")
//	Generate generate;
	
	@Column(name = "time")
	int time;

	public Long getid() {
		return id;
	}

//	public Generate getGenerate() {
//		return generate;
//	}

	public int getTime() {
		return time;
	}

	public void setId(Long id) {
		this.id = id;
	}

//	public void setGenerate(Generate generate) {
//		this.generate = generate;
//	}

	public void setTime(int time) {
		this.time = time;
	}

	}
	
